py_test(
    name = "test_actor",
    size = "medium",
    srcs = ["test_actor.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_actor_advanced",
    size = "medium",
    srcs = ["test_actor_advanced.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_actor_pool",
    size = "small",
    srcs = ["test_actor_pool.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_iter",
    size = "medium",
    srcs = ["test_iter.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_actor_resources",
    size = "medium",
    srcs = ["test_actor_resources.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_actor_failures",
    size = "medium",
    srcs = ["test_actor_failures.py"],
    # TODO(ekl) enable this once we support actor reconstruction again
    tags = ["exclusive", "manual"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_basic",
    size = "medium",
    srcs = ["test_basic.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_advanced",
    size = "medium",
    srcs = ["test_advanced.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_advanced_2",
    size = "medium",
    srcs = ["test_advanced_2.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_advanced_3",
    size = "medium",
    srcs = ["test_advanced_3.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_component_failures",
    size = "small",
    srcs = ["test_component_failures.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_component_failures_2",
    size = "medium",
    srcs = ["test_component_failures_2.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_component_failures_3",
    size = "medium",
    srcs = ["test_component_failures_3.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_multinode_failures",
    size = "medium",
    srcs = ["test_multinode_failures.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_multinode_failures_2",
    size = "medium",
    srcs = ["test_multinode_failures_2.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_stress",
    size = "medium",
    srcs = ["test_stress.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_stress_sharded",
    size = "medium",
    srcs = ["test_stress_sharded.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_stress_failure",
    size = "large",
    srcs = ["test_stress_failure.py"],
    # TODO(ekl) enable again once we support direct call reconstruction
    tags = ["exclusive", "manual"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_array",
    size = "medium",
    srcs = ["test_array.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_autoscaler",
    size = "small",
    srcs = ["test_autoscaler.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_autoscaler_yaml",
    size = "small",
    srcs = ["test_autoscaler_yaml.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_cython",
    size = "small",
    srcs = ["test_cython.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_debug_tools",
    size = "small",
    srcs = ["test_debug_tools.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_dynres",
    size = "medium",
    srcs = ["test_dynres.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_failure",
    size = "medium",
    srcs = ["test_failure.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_reference_counting",
    size = "medium",
    srcs = ["test_reference_counting.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_global_state",
    size = "small",
    srcs = ["test_global_state.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_memory_limits",
    size = "medium",
    srcs = ["test_memory_limits.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_memory_scheduling",
    size = "medium",
    srcs = ["test_memory_scheduling.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_metrics",
    size = "small",
    srcs = ["test_metrics.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_microbenchmarks",
    size = "small",
    srcs = ["test_microbenchmarks.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_mini",
    size = "small",
    srcs = ["test_mini.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_monitors",
    size = "small",
    srcs = ["test_monitors.py"],
    # TODO(ekl) tasks() and objects() are different in direct call mode.
    tags = ["exclusive", "manual"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_multiprocessing",
    size = "medium",
    srcs = ["test_multiprocessing.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_joblib",
    size = "medium",
    srcs = ["test_joblib.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_multi_node_2",
    size = "medium",
    srcs = ["test_multi_node_2.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_multi_node",
    size = "medium",
    srcs = ["test_multi_node.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_node_manager",
    size = "small",
    srcs = ["test_node_manager.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_object_manager",
    size = "medium",
    srcs = ["test_object_manager.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_projects",
    size = "small",
    srcs = ["test_projects.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_queue",
    size = "small",
    srcs = ["test_queue.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_ray_init",
    size = "small",
    srcs = ["test_ray_init.py"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_tempfile",
    size = "small",
    srcs = ["test_tempfile.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_tensorflow",
    size = "small",
    srcs = ["test_tensorflow.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_unreconstructable_errors",
    size = "medium",
    srcs = ["test_unreconstructable_errors.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_webui",
    size = "small",
    srcs = ["test_webui.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_args",
    size = "small",
    srcs = ["test_args.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_asyncio",
    size = "small",
    srcs = ["test_asyncio.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)

py_test(
    name = "test_numba",
    size = "small",
    srcs = ["test_numba.py"],
    tags = ["exclusive"],
    deps = ["//:ray_lib"],
)
